1 /*
2 * Angkor Web Framework
3 *
4 * Distributable under LGPL license.
5 * See terms of license at gnu.org.
6 */
7
8 package com.tirsen.angkor.jsp;
9
10 import com.tirsen.angkor.Debug;
11 import org.apache.log4j.Category;
12
13 import javax.servlet.jsp.JspException;
14 import javax.servlet.jsp.tagext.TagSupport;
15
16 /***
17 * @deprecated with the new model of prerendering components to be used in JSP this is not needed.
18 *
19 * <!-- $Id: UseComponentTag.java,v 1.3 2002/10/09 21:37:37 tirsen Exp $ -->
20 * <!-- $Author: tirsen $ -->
21 *
22 * @author Jon Tirsén (tirsen@users.sourceforge.net)
23 * @version $Revision: 1.3 $
24 */
25 public class UseComponentTag extends TagSupport
26 {
27 private static final Category logger = Debug.getCategory();
28
29 private String name;
30
31 public void setName(String name)
32 {
33 this.name = name;
34 }
35
36 public int doEndTag() throws JspException
37 {
38 // do nothing
39 /*
40 RenderContext context = new RenderContext(pageContext);
41 try
42 {
43 context.prepare(name);
44 }
45 catch(ServletException e)
46 {
47 throw new JspException(e);
48 }
49 catch(IOException e)
50 {
51 throw new JspException(e);
52 }
53 */
54 return super.doEndTag();
55 }
56 }
This page was automatically generated by Maven